import { OrderSort } from "../../types/BaseType";
import { UserData, UserRole, UserStatus } from "../../types/UserData";
import { BaseRequest, BaseResponse, BaseConf } from "../base";

export interface ReqList extends BaseRequest {
    orderBy:{
        sort: keyof UserData,
        order?:OrderSort,
    },
    cur?:number,
    pageSize?:number,
    key?:string,
    id?:number,
    nickName?:string,
    role?:UserRole,
    status?:UserStatus
}

export interface ResList extends BaseResponse {
    list:UserData[],
    count:number
    
}

export const conf: BaseConf = {
    
}